from django.contrib import admin
from django.urls import path,include
from rest_framework.routers import DefaultRouter
from .import views
urlpatterns = [

]
router = DefaultRouter()
router.register('labels', views.LabelViewSet)
router.register('articles', views.ArticleViewSet)
router.register('comments', views.CommentViewSet)
urlpatterns += router.urls